//
//  Look.h
//  PigMarket
//
//  Created by mac on 2019/7/2.
//  Copyright © 2019 felix.pigmarket.oc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BaseParam.h"

@class LookList, PigFieldList;
typedef NS_ENUM(NSInteger, SaleType) {
     SaleTypeNo = 0,
    SaleTypeYes = 1
};


/*
 "cameraId":3,
 "cameraName":"猪栏3",
 "cameraNum":"3333",
 "playUrl":"rtmp://rtmp01open.ys7.com/openlive/f01018a141094b7fa138b9d0b856507b.hd",
 "cameraNo":1,
 "serialNumber":"D26073931",
 "verificationCode":"RDEKLZ"
 */

@interface Look : NSObject
@property (nonatomic, strong) NSNumber *cameraId;
@property (nonatomic, copy) NSString *cameraName;
@property (nonatomic, copy) NSString *cameraNum;
@property (nonatomic , copy) NSString *playUrl;
@property (nonatomic , copy) NSString *serialNumber;
@property (nonatomic , copy) NSString *verificationCode;
@property (nonatomic, strong) NSNumber *cameraNo;

@end

/*
 "pigId":1,
 "varietiesName":"黑猪",
 "pigName":"三元仔猪",
 "pigNum":"A1111111111",
 "headImg":"http://39.98.179.212:8090/pigimg/1.png",
 "superviseCount":2,
 "advanceSaleIf":1,
 "shopOpenNot":1,
 "cameraList":Array[1],
 "pigFieldList":Array[2],
 "token":"at.1w0h6bhi2jhahfn8cn4xfqo65plhsulk-58faz7vu7r-1w4nv15-wu8s7h9ji"

 */
@interface LookList : NSObject

@property (nonatomic, strong) NSNumber *pigId;
@property (nonatomic, copy) NSString *varietiesName;
@property (nonatomic, strong) NSNumber *pigNum;
@property (nonatomic, copy) NSString *headImg;
@property (nonatomic, strong) NSNumber *superviseCount;
@property (nonatomic, strong) NSNumber *advanceSaleIf;
@property (nonatomic, strong) NSNumber *shopOpenNot;
@property (nonatomic, copy) NSString *token;
@property (nonatomic, strong) NSArray<Look *> *cameraList;
@property (nonatomic, strong) NSArray<PigFieldList *> *pigFieldList;

@end


/*
 "Type":1,
 "cameraNo":1,
 "serialNumber":"D26073938",
 "cameraId":4,
 "cameraNum":"4444",
 "cameraName":"猪栏4",
 "playUrl":"rtmp://rtmp01open.ys7.com/openlive/f01018a141094b7fa138b9d0b856507b.hd",
 "verificationCode":"VOAINA"
 */
@interface PigFieldList : BaseParam

@property (nonatomic, strong) NSNumber *Type;
@property (nonatomic, strong) NSNumber *cameraNo;
@property (nonatomic, copy) NSString *serialNumber;
@property (nonatomic, strong) NSNumber *cameraId;
@property (nonatomic, copy) NSString *cameraNum;
@property (nonatomic, copy) NSString *cameraName;
@property (nonatomic, copy) NSString *playUrl;
@property (nonatomic, copy) NSString *verificationCode;

@end
